<template>
	<view class="event-page init-page">
		<!-- #ifndef MP-WEIXIN -->
		<myuni-topbar>
		  <template v-slot:title>
			<text>我的动态</text>
		  </template>
		</myuni-topbar>
		<!-- #endif -->
		<myuni-userevent class="user-event" :userId="userId" :page="true"></myuni-userevent>	
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userId:null
			}
		},
		onLoad() {
			this.userId = uni.getStorageSync('profile').userId
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.event-page{
	padding-bottom: 0 !important;
	::v-deep.user-event{
		height: 100vh;
	}
}
</style>
